using Ncov2019.Entity;

namespace Ncov2019
{
    public partial class LabPrintReport : DevExpress.XtraReports.UI.XtraReport
    {
        public LabPrintReport()
        {
            InitializeComponent();
        }

        public void setData(NcovOrderRecord order)
        {
            lblName.Text = order.PAT_NM;
            lblBlhm.Text = "ID:" + order.CHT_ID;
            barCode.Text = order.BAR_NO;
        }

        private void xrLabel5_BeforePrint(object sender, System.Drawing.Printing.PrintEventArgs e)
        {
        }
    }
}